package com.s07.e01.utils;

import com.s07.e01.model.StandardUser;
import com.s07.e01.model.User;

public class UserUtils {

	public static void listUsers(User[] users) {
		for (User user : users) {
			if (user instanceof StandardUser){
				System.out.println(((StandardUser) user).showDiscountProducts());
			}
			System.out.println(user);
		}
		
	}

}
